aux_source_directory(. JANNA_LIBS_EXTENSIONSYSTEM_SOURCES)
list(APPEND JANNA_LIBS_EXTENSIONSYSTEM_SOURCES
    ${CMAKE_SOURCE_DIR}/include/janna/libs/extensionsystem/iplugin.h
    ${CMAKE_SOURCE_DIR}/include/janna/libs/extensionsystem/plugin_manager.h
)

qt_add_library(${janna_libs_extensionsystem_lib_name} SHARED ${JANNA_LIBS_EXTENSIONSYSTEM_SOURCES})

target_link_libraries(${janna_libs_extensionsystem_lib_name} PUBLIC
    ${janna_libs_utils_lib_name}
    fmt::fmt
    spdlog::spdlog
    Qt${QT_VERSION_MAJOR}::Core
)
set_target_properties(${janna_libs_extensionsystem_lib_name} PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${lib_dir})
